package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {
    //查询地址
    List<Address> findList();
    //添加地址
    void save(Address address);
    //修改默认地址
    Address setDefault(Long id);
    //查询默认地址
    Address findDefault();
    //回显
    Address findById(Long id);
    //更新
    void update(Address address);
    //删除
    void deleteById(Long ids);
}
